package com.dominator.repository;

import com.dominFramework.core.dao.SqlDao;
import com.dominator.mybatis.dao.T_pic_verifyDao;
import com.dominator.mybatis.dao.T_pic_verifyPO;
import com.dominator.utils.dao.JdbcHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
@Repository
public class DaoPicVerify {

	@Resource
	JdbcHelper jh;
	
	@Autowired
	SqlDao sqlDao;
	
	
	@Autowired
	T_pic_verifyDao t_pic_verifyDao;
	
	
	/**
	 * 添加
	 * @param record
	 * @return
	 */
	public Integer insertSelective(T_pic_verifyPO record) {
		return t_pic_verifyDao.insert(record);
	}
	/**
	 * 删除
	 * @param
	 * @return
	 */
	public Integer deleteByPrimaryKey(String id) {
		return t_pic_verifyDao.deleteByKey(id);
	}
	/**
	 * 修改
	 * @param record
	 * @return
	 */
	public Integer updateByPrimaryKey(T_pic_verifyPO record) {
		return t_pic_verifyDao.updateByKey(record);
	}
	/**
	 * 查询单条记录
	 * @param id
	 * @return
	 */
	public T_pic_verifyPO selectByPrimaryKey(String id) {
		T_pic_verifyPO row = t_pic_verifyDao.selectByKey(id);
		return row;
	}
	

	
	
	
	
}
